(define-module (emacs ivy-posframe)
  #:use-module (gnu packages emacs-xyz)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix build-system emacs)
  #:use-module (guix packages)
  #:use-module (guix git-download))

(define-public emacs-ivy-posframe
  (let ((commit "81f2ea14ddbdd4b840f18dd13ad3e30a6b791b4a")
        (revision "1"))
    (package
      (name "emacs-ivy-posframe")
      (version (git-version "0.1.0" revision commit))
      (source
       (origin
         (method git-fetch)
         (uri (git-reference
               (url "https://github.com/tumashu/ivy-posframe.git")
               (commit commit)))
         (sha256
          (base32
           "0b5sip1lc61hxi6bpvkv96vy83xb7cjblssjnzm9yxlniqc778b9"))))
      (build-system emacs-build-system)
      (propagated-inputs
       `(("emacs-posframe" ,emacs-posframe)
         ("emacs-ivy" ,emacs-ivy)))
      (home-page
       "https://github.com/tumashu/ivy-posframe")
      (synopsis "Using posframe to show Ivy")
      (description
       "ivy-posframe is a ivy extension, which let ivy use posframe to
show its candidate menu.")
      (license license:gpl3+))))
